package com.ideaaedi.commonspring.lite.params;

import org.springframework.lang.Nullable;

/**
 * 参数序列化器
 *
 * @author <font size = "20" color = "#3CAA3C"><a href="https://gitee.com/JustryDeng">JustryDeng</a></font> <img src="https://gitee.com/JustryDeng/shared-files/raw/master/JustryDeng/avatar.jpg" />
 * @since 2100.6.4
 */
public interface ParameterSerializer {
    
    /**
     * 序列化对象为字符串
     *
     * @param obj
     *            待序列化对象
     * @return 字符串
     */
    @Nullable
    String doSerializer(@Nullable Object obj);
}
